package com.xiaomi.pojo;

import java.io.Serializable;

//地址表
public class Address implements Serializable {

    private int aid;//地址表id
    private String aname;//姓名
    private String phonenum;//手机号
    private String address;//地址
    private int uid;//用户表id
    private int address_state;//地址表状态1默认地址2可用地址3删除地址

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getAddress_state() {
        return address_state;
    }

    public void setAddress_state(int address_state) {
        this.address_state = address_state;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", phonenum='" + phonenum + '\'' +
                ", address='" + address + '\'' +
                ", uid=" + uid +
                ", address_state=" + address_state +
                '}';
    }
}
